/*******************************************************
*  Team name: FTPMP
*  Class involve: BoardEngine, RoundWindow, CardWindow, Card
*  Version, Author, History of modification:
*  Ver 1.0, Fred,
*  -add boardEngine Controller, roundWindow, cardWindow, card, cardNo
*******************************************************/


package control;
import java.awt.*;
import javax.swing.*;

import boundary.CardWindow;
import boundary.RoundWindow;

import entity.Board;
import entity.Card;


public abstract class CardController
{
	protected BoardEngine boardEngine;
	protected RoundWindow roundWindow;
	protected CardWindow cardWindow;
	protected Board board;
	protected Card card;
	protected int cardNo;//used to keep track of which card to be drawn 
	
	//card content (needed for both event/SA)
	String name;//card name (diff card hv diff name)
	String info;
	String type;//one of the limited types shared by diff cards
	protected abstract void drawCard(Card card, int theplayer);
	public abstract void answeredEvent(int ans, int PID, int eid);
}  